<template>
  <view class="container">
    <!-- 表单内容 -->
    <view class="list-section">
      <view class="list-item" @click="goToDetectList()">
        <image class="item-icon" src="@/static/image/camera.png"></image>
        <text class="item-title"> 监测站查询</text>
        <u-icon name="arrow-right" size="16" color="#C0C3CE"></u-icon>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    goToDetectList() {
      uni.redirectTo({
        url: "/pages/hub_zsyg/prac/detection/detectlist/detectlist",
      });
    },
  },
};
</script>
<style lang="scss" scoped>
.container {
  width: 100%;
  padding: 10px;
  background-color: #f3f6fa;
  height: 100vh;
  box-sizing: border-box;
}
/* 列表区域样式 */
.list-section {
  margin-top: 10px;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;

  .list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .list-item:last-child {
    border-bottom: none;
  }

  /* 图标样式 */
  .item-icon {
    width: 24px;
    height: 24px;
  }

  /* 列表项标题样式 */
  .item-title {
    flex: 1;
    margin-left: 10px;
    font-size: 16px;
    color: #0d1444;
    font-weight: 400;
  }
}
</style>
